﻿/* ==============================================================================
* 功能描述：MsgEnterBattle
* 创 建 者：青金石
* 创建日期：2020/7/5 16:40:08
* ==============================================================================*/

[System.Serializable]
public class HeroInfo
{
    public string id = "";
    public string name = "";//昵称
    public int camp = 0;//阵营
    public int hp = 0;//血量

    //位置与旋转

    public float x = 0;
    public float y = 0;
    public float z = 0;
    public float ex = 0;
    public float ey = 0;
    public float ez = 0;
}

//服务器发送
public class MsgEnterBattle : MsgBase
{
    public MsgEnterBattle()
    {
        protoName = "MsgEnterBattle";
    }

    public HeroInfo[] heroInfos;//房间内的玩家的英雄信息
    public int mapID = 1;//地图
}